﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="ArticleListMore.aspx.cs"
    Inherits="ITOMMS.Web.Knowledge.ArticleListMore" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>文章资讯列表</title>
    <link href="../css/AspNetPager.css" rel="stylesheet" type="text/css" />
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table class="tblDataArea" width="100%">
                <tr class="tblQueryArea">
                    <td class="tblDataCaption" colspan="7">
                        <div style="width: 210px;" class="title">
                            <img src="../images/lv3.gif" style="margin-bottom: -3px;" />文章列表</div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="tblDataArea" >
            <table  class="tblDataArea" style="width: 100%;" >
                <tr >
                    <td  style="width:50%">
                        <div style="font-weight:bold;">
                            <img src="../images/folder_common.gif" alt="" style="margin-bottom: -3px" />
                            最新8条硬件区域解决方案</div>
                    </td>
                    <td style="width:50%">
                        <div style="font-weight:bold;">
                            <img src="../images/folder_common.gif" alt="" style="margin-bottom: -3px" />
                            最新8条软件区域解决方案</div>
                    </td>
                </tr>
                <tr>
                    <td  valign="top">
                        <asp:GridView ID="GridViewArticle_1" runat="server" AutoGenerateColumns="False" CssClass="cssDataGrid"
                            Width="98%">
                            <FooterStyle CssClass="cssDataGridFooter"></FooterStyle>
                            <SelectedRowStyle CssClass="cssDataGridSelectedItem"></SelectedRowStyle>
                            <EditRowStyle CssClass="cssDataGridEditItem"></EditRowStyle>
                            <AlternatingRowStyle CssClass="cssDataGridAlternatingItem"></AlternatingRowStyle>
                            <RowStyle CssClass="cssDataGridItem"></RowStyle>
                            <HeaderStyle ForeColor="#CCFFFF" CssClass="cssDataGridHeader"></HeaderStyle>
                            <Columns>

                                <asp:BoundField DataField="SEQNO" HeaderText="序号"></asp:BoundField>

                                <asp:TemplateField HeaderText="标题">                              
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"><%# Watson.Core.Tools.FormatValue.InterceptString(Eval("Title").ToString(), 12)%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>
                                 <asp:TemplateField HeaderText="作者">                              
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreateBy" runat="server"><%# GetArticlAuthor(Eval("CreateBy").ToString())%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>           
                                <asp:BoundField DataField="CreateDate" HeaderText="创建日期" DataFormatString="{0:yyyy-MM-dd}"></asp:BoundField>
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ArticleView.aspx?id={0}"
                                    Text="查看"></asp:HyperLinkField>
                            </Columns>
                        </asp:GridView>
                    </td>
                    <td valign="top">
                        <asp:GridView ID="GridViewArticle_2" runat="server" AutoGenerateColumns="False" CssClass="cssDataGrid"
                            Width="100%">
                            <FooterStyle CssClass="cssDataGridFooter" />
                            <SelectedRowStyle CssClass="cssDataGridSelectedItem" />
                            <EditRowStyle CssClass="cssDataGridEditItem" />
                            <AlternatingRowStyle CssClass="cssDataGridAlternatingItem" />
                            <RowStyle CssClass="cssDataGridItem" />
                            <HeaderStyle CssClass="cssDataGridHeader" ForeColor="#CCFFFF" />
                            <Columns>
                                <asp:BoundField DataField="SEQNO" HeaderText="序号" />
                                 <asp:TemplateField HeaderText="标题">                              
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"><%# Watson.Core.Tools.FormatValue.InterceptString(Eval("Title").ToString(), 12)%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>   
                                     <asp:TemplateField HeaderText="作者">                              
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreateBy" runat="server"><%# GetArticlAuthor(Eval("CreateBy").ToString())%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>       
                                <asp:BoundField DataField="CreateDate" HeaderText="创建日期" DataFormatString="{0:yyyy-MM-dd}"/>
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ArticleView.aspx?id={0}"
                                    Text="查看" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                </tr>
                <tr>
                    <td >
                        <div style="font-weight:bold;">
                            <img src="../images/folder_common.gif" alt="" style="margin-bottom: -3px" />
                            最新8条网络区域解决方案</div>
                    </td>
                    <td>
                        <div style="font-weight:bold;">
                            <img src="../images/folder_common.gif" alt="" style="margin-bottom: -3px" />
                            最新8条系统区域解决方案</div>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <asp:GridView ID="GridViewArticle_3" runat="server" AutoGenerateColumns="False" CssClass="cssDataGrid"
                            Width="98%">
                            <FooterStyle CssClass="cssDataGridFooter" />
                            <SelectedRowStyle CssClass="cssDataGridSelectedItem" />
                            <EditRowStyle CssClass="cssDataGridEditItem" />
                            <AlternatingRowStyle CssClass="cssDataGridAlternatingItem" />
                            <RowStyle CssClass="cssDataGridItem" />
                            <HeaderStyle CssClass="cssDataGridHeader" ForeColor="#CCFFFF" />
                            <Columns>
                                <asp:BoundField DataField="SEQNO" HeaderText="序号" />
                                 <asp:TemplateField HeaderText="标题">                              
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"><%# Watson.Core.Tools.FormatValue.InterceptString(Eval("Title").ToString(), 12)%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>  
                                     <asp:TemplateField HeaderText="作者">                              
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreateBy" runat="server"><%# GetArticlAuthor(Eval("CreateBy").ToString())%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>       
                                <asp:BoundField DataField="CreateDate" HeaderText="创建日期" DataFormatString="{0:yyyy-MM-dd}" />
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ArticleView.aspx?id={0}"
                                    Text="查看" />
                            </Columns>
                        </asp:GridView>
                    </td>
                    <td valign="top">
                        <asp:GridView ID="GridViewArticle_4" runat="server" AutoGenerateColumns="False" CssClass="cssDataGrid"
                            Width="100%">
                            <FooterStyle CssClass="cssDataGridFooter" />
                            <SelectedRowStyle CssClass="cssDataGridSelectedItem" />
                            <EditRowStyle CssClass="cssDataGridEditItem" />
                            <AlternatingRowStyle CssClass="cssDataGridAlternatingItem" />
                            <RowStyle CssClass="cssDataGridItem" />
                            <HeaderStyle CssClass="cssDataGridHeader" ForeColor="#CCFFFF" />
                            <Columns>
                                <asp:BoundField DataField="SEQNO" HeaderText="序号" />
                                <asp:TemplateField HeaderText="标题">                              
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server"><%# Watson.Core.Tools.FormatValue.InterceptString(Eval("Title").ToString(), 12)%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>  
                                     <asp:TemplateField HeaderText="作者">                              
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreateBy" runat="server"><%# GetArticlAuthor(Eval("CreateBy").ToString())%></asp:Label>
                                    </ItemTemplate>
                                 </asp:TemplateField>       
                                <asp:BoundField DataField="CreateDate" HeaderText="创建日期" DataFormatString="{0:yyyy-MM-dd}"/>
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ArticleView.aspx?id={0}"
                                    Text="查看" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
            <div >
                &nbsp;<input type="button" class="submit5"  style="width: 86px; height: 32px" id="btnMore" onserverclick="btnMore_ServerClick" runat="server" value="查看更多"/></div>
        </div>
    </form>
</body>
</html>